package com.dz.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.reggie.dto.DishDto;
import com.dz.reggie.entity.Dish;

import java.util.ArrayList;
import java.util.List;

public interface DishService extends IService<Dish> {
    void saveWithFlavor(DishDto dishDto);
    DishDto getByIdWithFlavor(Long id);

    void deleteByIdsWithFlacor(ArrayList<Long> idList);
    void updateWithFlavor(DishDto dishDto);

    void openDishStatus(ArrayList<Long> idList);

    void closeDishStatus(ArrayList<Long> idList);
}
